<?php

namespace App\Http\Resources\Promote;

use Illuminate\Http\Resources\Json\Resource;

class PromoteResource extends Resource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {
        return [
            'id'                =>  $this->goods_id,
            'promote_price'     =>  $this->promote_price,
        ];
    }
}
